#include "duck.h"

Duck::Duck(QPoint p)
{
    this->topLeft=p;
}

const QImage &Duck::getImage()
{
    static const QImage image=QImage(imagesDirectory+"vit.png","PNG").scaled(poultrySize.width(),poultrySize.height());
    return image;
}

int Duck::getType()
{
    return DUCK;
}
